export const GOODLIST_URL = 'http://rapapi.org/mockjsdata/18396/api/discove/goodlist';
export const GOODLIST_head_URL = 'http://img.lapin365.com/productpictures';

export const DEFAULT_SMS_TIME = 60;//邮箱默认时间
export const COPY_TYPE = 1;//0非复制链接下载，1复制链接下载


export const HTTP_TIME = 90;//默认请求时间

export const IS_FENQI = true;//是否   false 是  true不是
export const IS_TEST = false;//是否测试接口
// export const PLATFORM = "0";//支付平台  android=0    ios=1   web=2
export const FILE_PATH = 'jiehui';//

export const isDebug = false;//true 打印日志
export const isBindingCard = false;//是否强制绑卡
export const version={VERSIONS:'0.1'}
export const GAO_DE_KEY = '57f4460726f5ee00a000d82555929293';//是否测试接口
export const AMAP_KEY = 'baec132dc2a523ecd0a93f155055fc33';//是否测试接口
//需要登录的接口
export const ApiServeLogin ={
    
    

    procIntegral:'proc/procIntegral', //积分商城
    changePassWord:'userInfo/changeUserPassWord',
    getContractList:'contract/getContractList',
    getAccJnlList:'acc/getAccJnlList',//2.6.17	查询用户账户流水列表
    getContractDetail:'contract/getContractDetail',
    getCutpayBindCardList:'pay/getCutpayBindCardList',
    bindCard:'userInfo/bindCard',
    updateCard:'userInfo/updateCard',
    cutpayBindCardApply:'pay/cutpayBindCardApply',
    cutpayBindCardReSendSms:'pay/cutpayBindCardReSendSms',
    cutpayBindCardConfirm:'pay/cutpayBindCardConfirm',
    signImg:'contract/signImg',
    userCard:'usercard/userCard',
    uploadFile:'file/uploadFile',
    modifyUserInfo:'userInfo/modifyUserInfo',
    getFamilyList:'userInfo/getFamilyList',
    markSureOrderData:'procorder/markSureOrderData',//获取订单列表
    markSureOrder:'procorder/markSureOrder',//获取订单列表
    cashPlaceOrder:'procorder/cashPlaceOrder',//获取订单列表
    getAccInfo:'acc/getAccInfo',
    queryAddress:'address/queryAddress',//查询收货地址
    addAddress:'address/addAddress', //添加地址
    getUserSelCoupon:'userInfo/userSelCoupon', //获取优惠券列表
    addressType:'address/addressType', //添加地址
    getSelCard:'userInfo/selCard', //查询银行卡列表

    delCard:'userInfo/delCard', //删除银行卡列表

    upAddress:'address/upAddress', //修改地址
    deleteAddress:'address/delAddress', //删除地址   地址暂时不可用
    /**
     * 常见问题列表， 投诉建议列表
     * param   ：1查常见问题 2查投诉
     */
    getUserQuestion:'userInfo/userQuestion', 


    /**
     * 常见问题列表， 添加投诉建议
     * param   ： 添加投诉建议
     */
    setUserSuggest:'userInfo/userSuggest', 
    getShareApp:'userInfo/shareApp', //分享好友
    queryProcOrder:'procorder/queryProcOrder',//获取订单列表
    queryProcOrderDetail:'procorder/queryProcOrderDetail',//获取订单列表
    markSureProcOrder:'procorder/markSureProcOrder',//获取订单列表
    getRate:'rate/rate',  //获取订单列表
    queryRate:'rate/queryRate',//获取订单列表
    queryMerchAddress:'procorder/queryOrderWhere',//获取物流详情
    placeOrder:'placeorder/placeOrder', //下单
    ordderConfirm:'confirm/confirm', //订单确认
    getAddCollect:'proc/procCollect',  //收藏商品
    getSelProcCollect:'proc/selProcCollect',  //收藏商品
    againPlaceOrder:'againplaceorder/againPlaceOrder', //订单重复支付
    orderRefund:'refund/refund', //订单重复支付
    treatyflagQueryAddress:'treatyflag/queryAddress', //订单重复支付
    cancelOrder:'procorder/delProcOrderByStatus', //订单确认
    queryBuyTreaty:'buytreaty/queryBuyTreaty', //查询购销协议书
    queryShoppingCar:'shoppingcar/queryShoppingCar', //购物车列表
    addShoppingCar:'shoppingcar/addShoppingCar', //添加购物车
    getProcStandardsByColor:'proc/procStandardsByColor',//  merchDistanceLongitude 
    delShoppingCar:'shoppingcar/delShoppingCar', //添加购物车
    delShoppingCarAll:'shoppingcar/delShoppingCarAll', //添加购物车
    addressBook:'addressbook/addressBook', //上传通讯录
    queryAddressBook:'addressbook/queryAddressBook', //上传通讯录
    payApply:'pay/payApply',
    // writeComment:'comment/comment',//写评论
    writeComment:'comment/commentList',//写评论
    userQuestion:'userInfo/userQuestion',//写评论

};

//不需要登录的接口
export const ApiServeNoLogin ={
    addChatRecord: 'userInfo/addChatRecord',
    queryChatRecordList: 'userInfo/queryChatRecordList',
    getUserInfo:'userInfo/getUserInfo',
    ossUploadFile:'file/ossUploadFile',
     appLogin:'login/appLogin',
     appleLog:'login/appleLogin',
     faceBookLogin:'login/faceBookLogin',
     googleLogin:'login/googleLogin',
    //  appRegister:'applogin/appRegister',
     appRegister:'login/appRegister',
     forgetPassword:'login/forgetPassword',
     missPassWord:'applogin/missPassWord',
     getSms:'sms/SmsController',
     loginOut:'applogin/loginOut',
     AppVersion:'proc/AppVersion',
     getCompanyProfile:'proc/getCompanyProfile',
     controlDerail:'controlderail/controlDerail',
     getProcList:'proc/getProcList',
     selHotProc:'proc/selHotProc',
     getProcStandards:'proc/getProcStandards',
     getRecommendProc:'proc/getRecommendProc',
     getSelFaceNewProcList:'proc/getselFaceNewProcList',
     getProcDetail:'proc/getProcDetail',
     getRotationChart: 'proc/getRotationChart',//首页轮播图
     getAgentInfo:'news/getAgentInfo',//2.6.10	2.6.11	获取招商信息
     getNewsList:'news/getNewsList',//2.6.10	2.6.12	获取资讯列表
     getNewsDetail:'news/getNewsDetail',//2.6.10	2.6.12	2.6.13	获取资讯详情
     queryDistance:'distance/queryDistance',//2.6.10	2.6.12	2.6.13	获取资讯详情
     getCustomerService:'proc/getCustomerService',//获取当前客服
     queryProcClass:'procclass/queryProcClass',//2.6.10	2.6.12	2.6.13	获取资讯详情
     queryRemarkList:'comment/queryCommentList',

    

     
};
export const errCode={
    '100001':'重复绑卡',
    '100002':'支付失败',
    '100003':'支付失败',
    '100004':'支付确认失败',
    '100005':'支付确认失败',
    '100006':'支付邮箱重新发送失败',
    '100007':'支付邮箱重新发送失败',
    '100008':'用户信息不存在',
    '100010':'请您先实名认证',
    '100011':'认证失败',
    '100012':'查询失败',
    '100013':'银行卡无效',
    '100014':'重复绑卡',
    '100015':'查询失败',
    '100016':'exception service routine',
    '100017':'用户账户不存在',
    '100018':'用户账户状态不正常',
    '100019':'合同状态不正确',
    '100020':'合同不存在',
    '100021':'订单信息不存在',
    '100022':'fail',
    '100023':'Pay for failure',
    '100024':'超过还款期限',
    '000001':'获取微信用户信息失败',
    '000002':'获取微信用户信息失败',
    '000003':'获取微信用户信息失败',
    '000004':'Email delivery failed',
    '000005':'Email delivery failed',
    '000006':'network error',
    '000007':'Captcha timeout',
    '000008':'The mailbox already exists',
    '000009':'Email error',
    '000010':'黑名单用户',
    '000011':'你当前无法修改资料请稍后重试',
    '000012':'身份证照片资料错误',
    '000013':'0',
    '000014':'0',
    '000015':'还未实名认证',
    '000016':'0',
    '000017':'0',
    '000018':'Users are blocked from logging in',
    '000019':'绑卡失败',
    '000020':'0',
    '000025':'0',
    '000026':'身份证照片信息不清晰请重新上传',
    // '000027':'你输入的身份证信息与照片信息不匹配',//20190727 19：08刘卓打电话改为下面
    '000027':'您当前输入的手机号与登录手机号不一致，请重新输入',
    
    '000028':'身份证照片信息不清晰请重新上传',
    '000029':'The order is being processed, please operate later!',
    '000030':'You have already evaluated the order',
    '000032':'邀请码无效',
    '200001':'0',
    '200002':'当前不可以分期请联系客服',
    '200003':'The price has changed, please place a new order',
    '200004':'0',
    '999999':'Server abnormal, please contact customer service!',

}


